﻿//Copyright (C) 2011  Matthew White

//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either version 2
//of the License, or (at your option) any later version.

//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU General Public License for more details.

//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

namespace SccmBoundaryHealth
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections;
    using System.ComponentModel;
    using System.ComponentModel.Design;
    using System.Data;
    using System.Diagnostics;
    using System.IO;
    using System.Reflection;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;
    using System.Threading;
    using System.Xml;
    using System.Xml.Schema;
    using System.Xml.Serialization;

    /// <summary>
    /// The dataset used by the program as a kind of in-memory database
    /// </summary>
    [Serializable, DesignerCategory("code"), HelpKeyword("vs.data.DataSet"), XmlSchemaProvider("GetTypedDataSetSchema"), ToolboxItem(true), XmlRoot("ds")]
    public class ds : DataSet
    {
        private System.Data.SchemaSerializationMode _schemaSerializationMode;
        private ADSiteDataDataTable tableADSiteData;
        private SccmBoundaryDataDataTable tableSccmBoundaryData;
        private SccmBoundaryIPRangeDataDataTable tableSccmBoundaryIPRangeData;
        private SccmSitesDataTable tableSccmSites;

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public ds()
        {
            this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            base.BeginInit();
            this.InitClass();
            CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += handler;
            base.Relations.CollectionChanged += handler;
            base.EndInit();
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected ds(SerializationInfo info, StreamingContext context) : base(info, context, false)
        {
            this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            if (base.IsBinarySerialized(info, context))
            {
                this.InitVars(false);
                CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
                this.Tables.CollectionChanged += handler;
                this.Relations.CollectionChanged += handler;
            }
            else
            {
                string s = (string) info.GetValue("XmlSchema", typeof(string));
                if (base.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)
                {
                    DataSet dataSet = new DataSet();
                    dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
                    if (dataSet.Tables["ADSiteData"] != null)
                    {
                        base.Tables.Add(new ADSiteDataDataTable(dataSet.Tables["ADSiteData"]));
                    }
                    if (dataSet.Tables["SccmBoundaryData"] != null)
                    {
                        base.Tables.Add(new SccmBoundaryDataDataTable(dataSet.Tables["SccmBoundaryData"]));
                    }
                    if (dataSet.Tables["SccmSites"] != null)
                    {
                        base.Tables.Add(new SccmSitesDataTable(dataSet.Tables["SccmSites"]));
                    }
                    if (dataSet.Tables["SccmBoundaryIPRangeData"] != null)
                    {
                        base.Tables.Add(new SccmBoundaryIPRangeDataDataTable(dataSet.Tables["SccmBoundaryIPRangeData"]));
                    }
                    base.DataSetName = dataSet.DataSetName;
                    base.Prefix = dataSet.Prefix;
                    base.Namespace = dataSet.Namespace;
                    base.Locale = dataSet.Locale;
                    base.CaseSensitive = dataSet.CaseSensitive;
                    base.EnforceConstraints = dataSet.EnforceConstraints;
                    base.Merge(dataSet, false, MissingSchemaAction.Add);
                    this.InitVars();
                }
                else
                {
                    base.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
                }
                base.GetSerializationData(info, context);
                CollectionChangeEventHandler handler2 = new CollectionChangeEventHandler(this.SchemaChanged);
                base.Tables.CollectionChanged += handler2;
                this.Relations.CollectionChanged += handler2;
            }
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public override DataSet Clone()
        {
            ds ds = (ds) base.Clone();
            ds.InitVars();
            ds.SchemaSerializationMode = this.SchemaSerializationMode;
            return ds;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        protected override XmlSchema GetSchemaSerializable()
        {
            MemoryStream w = new MemoryStream();
            base.WriteXmlSchema(new XmlTextWriter(w, null));
            w.Position = 0L;
            return XmlSchema.Read(new XmlTextReader(w), null);
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
        {
            ds ds = new ds();
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            XmlSchemaAny item = new XmlSchemaAny {
                Namespace = ds.Namespace
            };
            sequence.Items.Add(item);
            type.Particle = sequence;
            XmlSchema schemaSerializable = ds.GetSchemaSerializable();
            if (xs.Contains(schemaSerializable.TargetNamespace))
            {
                MemoryStream stream = new MemoryStream();
                MemoryStream stream2 = new MemoryStream();
                try
                {
                    XmlSchema current = null;
                    schemaSerializable.Write(stream);
                    IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                    while (enumerator.MoveNext())
                    {
                        current = (XmlSchema) enumerator.Current;
                        stream2.SetLength(0L);
                        current.Write(stream2);
                        if (stream.Length == stream2.Length)
                        {
                            stream.Position = 0L;
                            stream2.Position = 0L;
                            while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                            {
                            }
                            if (stream.Position == stream.Length)
                            {
                                return type;
                            }
                        }
                    }
                }
                finally
                {
                    if (stream != null)
                    {
                        stream.Close();
                    }
                    if (stream2 != null)
                    {
                        stream2.Close();
                    }
                }
            }
            xs.Add(schemaSerializable);
            return type;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        private void InitClass()
        {
            base.DataSetName = "ds";
            base.Prefix = "";
            base.Namespace = "http://tempuri.org/ds.xsd";
            base.EnforceConstraints = true;
            this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableADSiteData = new ADSiteDataDataTable();
            base.Tables.Add(this.tableADSiteData);
            this.tableSccmBoundaryData = new SccmBoundaryDataDataTable();
            base.Tables.Add(this.tableSccmBoundaryData);
            this.tableSccmSites = new SccmSitesDataTable();
            base.Tables.Add(this.tableSccmSites);
            this.tableSccmBoundaryIPRangeData = new SccmBoundaryIPRangeDataDataTable();
            base.Tables.Add(this.tableSccmBoundaryIPRangeData);
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override void InitializeDerivedDataSet()
        {
            base.BeginInit();
            this.InitClass();
            base.EndInit();
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        internal void InitVars()
        {
            this.InitVars(true);
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        internal void InitVars(bool initTable)
        {
            this.tableADSiteData = (ADSiteDataDataTable) base.Tables["ADSiteData"];
            if (initTable && (this.tableADSiteData != null))
            {
                this.tableADSiteData.InitVars();
            }
            this.tableSccmBoundaryData = (SccmBoundaryDataDataTable) base.Tables["SccmBoundaryData"];
            if (initTable && (this.tableSccmBoundaryData != null))
            {
                this.tableSccmBoundaryData.InitVars();
            }
            this.tableSccmSites = (SccmSitesDataTable) base.Tables["SccmSites"];
            if (initTable && (this.tableSccmSites != null))
            {
                this.tableSccmSites.InitVars();
            }
            this.tableSccmBoundaryIPRangeData = (SccmBoundaryIPRangeDataDataTable) base.Tables["SccmBoundaryIPRangeData"];
            if (initTable && (this.tableSccmBoundaryIPRangeData != null))
            {
                this.tableSccmBoundaryIPRangeData.InitVars();
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        protected override void ReadXmlSerializable(XmlReader reader)
        {
            if (base.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)
            {
                this.Reset();
                DataSet dataSet = new DataSet();
                dataSet.ReadXml(reader);
                if (dataSet.Tables["ADSiteData"] != null)
                {
                    base.Tables.Add(new ADSiteDataDataTable(dataSet.Tables["ADSiteData"]));
                }
                if (dataSet.Tables["SccmBoundaryData"] != null)
                {
                    base.Tables.Add(new SccmBoundaryDataDataTable(dataSet.Tables["SccmBoundaryData"]));
                }
                if (dataSet.Tables["SccmSites"] != null)
                {
                    base.Tables.Add(new SccmSitesDataTable(dataSet.Tables["SccmSites"]));
                }
                if (dataSet.Tables["SccmBoundaryIPRangeData"] != null)
                {
                    base.Tables.Add(new SccmBoundaryIPRangeDataDataTable(dataSet.Tables["SccmBoundaryIPRangeData"]));
                }
                base.DataSetName = dataSet.DataSetName;
                base.Prefix = dataSet.Prefix;
                base.Namespace = dataSet.Namespace;
                base.Locale = dataSet.Locale;
                base.CaseSensitive = dataSet.CaseSensitive;
                base.EnforceConstraints = dataSet.EnforceConstraints;
                base.Merge(dataSet, false, MissingSchemaAction.Add);
                this.InitVars();
            }
            else
            {
                base.ReadXml(reader);
                this.InitVars();
            }
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void SchemaChanged(object sender, CollectionChangeEventArgs e)
        {
            if (e.Action == CollectionChangeAction.Remove)
            {
                this.InitVars();
            }
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private bool ShouldSerializeADSiteData()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        protected override bool ShouldSerializeRelations()
        {
            return false;
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private bool ShouldSerializeSccmBoundaryData()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        private bool ShouldSerializeSccmBoundaryIPRangeData()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        private bool ShouldSerializeSccmSites()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        protected override bool ShouldSerializeTables()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
        public ADSiteDataDataTable ADSiteData
        {
            get
            {
                return this.tableADSiteData;
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DebuggerNonUserCode]
        public DataRelationCollection Relations
        {
            get
            {
                return base.Relations;
            }
        }

        [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public SccmBoundaryDataDataTable SccmBoundaryData
        {
            get
            {
                return this.tableSccmBoundaryData;
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode, Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
        public SccmBoundaryIPRangeDataDataTable SccmBoundaryIPRangeData
        {
            get
            {
                return this.tableSccmBoundaryIPRangeData;
            }
        }

        [DebuggerNonUserCode, Browsable(false), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
        public SccmSitesDataTable SccmSites
        {
            get
            {
                return this.tableSccmSites;
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), DebuggerNonUserCode]
        public override System.Data.SchemaSerializationMode SchemaSerializationMode
        {
            get
            {
                return this._schemaSerializationMode;
            }
            set
            {
                this._schemaSerializationMode = value;
            }
        }

        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public DataTableCollection Tables
        {
            get
            {
                return base.Tables;
            }
        }

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class ADSiteDataDataTable : TypedTableBase<ds.ADSiteDataRow>
        {
            private DataColumn columnADSiteIPData;
            private DataColumn columnADSiteIPVersion;
            private DataColumn columnADSiteName;
            private DataColumn columnADSiteSubnetBits;
            private DataColumn columnId;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.ADSiteDataRowChangeEventHandler ADSiteDataRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.ADSiteDataRowChangeEventHandler ADSiteDataRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.ADSiteDataRowChangeEventHandler ADSiteDataRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.ADSiteDataRowChangeEventHandler ADSiteDataRowDeleting;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public ADSiteDataDataTable()
            {
                base.TableName = "ADSiteData";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal ADSiteDataDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected ADSiteDataDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void AddADSiteDataRow(ds.ADSiteDataRow row)
            {
                base.Rows.Add(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.ADSiteDataRow AddADSiteDataRow(string ADSiteName, string ADSiteIPData, int ADSiteIPVersion, int ADSiteSubnetBits)
            {
                ds.ADSiteDataRow row = (ds.ADSiteDataRow) base.NewRow();
                object[] objArray2 = new object[5];
                objArray2[0] = ADSiteName;
                objArray2[1] = ADSiteIPData;
                objArray2[2] = ADSiteIPVersion;
                objArray2[3] = ADSiteSubnetBits;
                object[] objArray = objArray2;
                row.ItemArray = objArray;
                base.Rows.Add(row);
                return row;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public override DataTable Clone()
            {
                ds.ADSiteDataDataTable table = (ds.ADSiteDataDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataTable CreateInstance()
            {
                return new ds.ADSiteDataDataTable();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.ADSiteDataRow FindById(int Id)
            {
                return (ds.ADSiteDataRow) base.Rows.Find(new object[] { Id });
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override Type GetRowType()
            {
                return typeof(ds.ADSiteDataRow);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                ds ds = new ds();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = ds.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "ADSiteDataDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = ds.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private void InitClass()
            {
                this.columnADSiteName = new DataColumn("ADSiteName", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnADSiteName);
                this.columnADSiteIPData = new DataColumn("ADSiteIPData", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnADSiteIPData);
                this.columnADSiteIPVersion = new DataColumn("ADSiteIPVersion", typeof(int), null, MappingType.Element);
                base.Columns.Add(this.columnADSiteIPVersion);
                this.columnADSiteSubnetBits = new DataColumn("ADSiteSubnetBits", typeof(int), null, MappingType.Element);
                base.Columns.Add(this.columnADSiteSubnetBits);
                this.columnId = new DataColumn("Id", typeof(int), null, MappingType.Element);
                base.Columns.Add(this.columnId);
                base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnId }, true));
                this.columnADSiteName.AllowDBNull = false;
                this.columnADSiteIPData.AllowDBNull = false;
                this.columnId.AutoIncrement = true;
                this.columnId.AutoIncrementSeed = -1L;
                this.columnId.AutoIncrementStep = -1L;
                this.columnId.AllowDBNull = false;
                this.columnId.Unique = true;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal void InitVars()
            {
                this.columnADSiteName = base.Columns["ADSiteName"];
                this.columnADSiteIPData = base.Columns["ADSiteIPData"];
                this.columnADSiteIPVersion = base.Columns["ADSiteIPVersion"];
                this.columnADSiteSubnetBits = base.Columns["ADSiteSubnetBits"];
                this.columnId = base.Columns["Id"];
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.ADSiteDataRow NewADSiteDataRow()
            {
                return (ds.ADSiteDataRow) base.NewRow();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new ds.ADSiteDataRow(builder);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.ADSiteDataRowChanged != null)
                {
                    this.ADSiteDataRowChanged(this, new ds.ADSiteDataRowChangeEvent((ds.ADSiteDataRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.ADSiteDataRowChanging != null)
                {
                    this.ADSiteDataRowChanging(this, new ds.ADSiteDataRowChangeEvent((ds.ADSiteDataRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.ADSiteDataRowDeleted != null)
                {
                    this.ADSiteDataRowDeleted(this, new ds.ADSiteDataRowChangeEvent((ds.ADSiteDataRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.ADSiteDataRowDeleting != null)
                {
                    this.ADSiteDataRowDeleting(this, new ds.ADSiteDataRowChangeEvent((ds.ADSiteDataRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void RemoveADSiteDataRow(ds.ADSiteDataRow row)
            {
                base.Rows.Remove(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn ADSiteIPDataColumn
            {
                get
                {
                    return this.columnADSiteIPData;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn ADSiteIPVersionColumn
            {
                get
                {
                    return this.columnADSiteIPVersion;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn ADSiteNameColumn
            {
                get
                {
                    return this.columnADSiteName;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn ADSiteSubnetBitsColumn
            {
                get
                {
                    return this.columnADSiteSubnetBits;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(false), DebuggerNonUserCode]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn IdColumn
            {
                get
                {
                    return this.columnId;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public ds.ADSiteDataRow this[int index]
            {
                get
                {
                    return (ds.ADSiteDataRow) base.Rows[index];
                }
            }
        }

        public class ADSiteDataRow : DataRow
        {
            private ds.ADSiteDataDataTable tableADSiteData;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal ADSiteDataRow(DataRowBuilder rb) : base(rb)
            {
                this.tableADSiteData = (ds.ADSiteDataDataTable) base.Table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsADSiteIPVersionNull()
            {
                return base.IsNull(this.tableADSiteData.ADSiteIPVersionColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsADSiteSubnetBitsNull()
            {
                return base.IsNull(this.tableADSiteData.ADSiteSubnetBitsColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetADSiteIPVersionNull()
            {
                base[this.tableADSiteData.ADSiteIPVersionColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetADSiteSubnetBitsNull()
            {
                base[this.tableADSiteData.ADSiteSubnetBitsColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string ADSiteIPData
            {
                get
                {
                    return (string) base[this.tableADSiteData.ADSiteIPDataColumn];
                }
                set
                {
                    base[this.tableADSiteData.ADSiteIPDataColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int ADSiteIPVersion
            {
                get
                {
                    int num;
                    try
                    {
                        num = (int) base[this.tableADSiteData.ADSiteIPVersionColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("The value for column 'ADSiteIPVersion' in table 'ADSiteData' is DBNull.", exception);
                    }
                    return num;
                }
                set
                {
                    base[this.tableADSiteData.ADSiteIPVersionColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string ADSiteName
            {
                get
                {
                    return (string) base[this.tableADSiteData.ADSiteNameColumn];
                }
                set
                {
                    base[this.tableADSiteData.ADSiteNameColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int ADSiteSubnetBits
            {
                get
                {
                    int num;
                    try
                    {
                        num = (int) base[this.tableADSiteData.ADSiteSubnetBitsColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("The value for column 'ADSiteSubnetBits' in table 'ADSiteData' is DBNull.", exception);
                    }
                    return num;
                }
                set
                {
                    base[this.tableADSiteData.ADSiteSubnetBitsColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int Id
            {
                get
                {
                    return (int) base[this.tableADSiteData.IdColumn];
                }
                set
                {
                    base[this.tableADSiteData.IdColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class ADSiteDataRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private ds.ADSiteDataRow eventRow;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ADSiteDataRowChangeEvent(ds.ADSiteDataRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.ADSiteDataRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void ADSiteDataRowChangeEventHandler(object sender, ds.ADSiteDataRowChangeEvent e);

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class SccmBoundaryDataDataTable : TypedTableBase<ds.SccmBoundaryDataRow>
        {
            private DataColumn columnBoundaryData;
            private DataColumn columnBoundaryType;
            private DataColumn columnSiteCode;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmBoundaryDataRowChangeEventHandler SccmBoundaryDataRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmBoundaryDataRowChangeEventHandler SccmBoundaryDataRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmBoundaryDataRowChangeEventHandler SccmBoundaryDataRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmBoundaryDataRowChangeEventHandler SccmBoundaryDataRowDeleting;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public SccmBoundaryDataDataTable()
            {
                base.TableName = "SccmBoundaryData";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal SccmBoundaryDataDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected SccmBoundaryDataDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void AddSccmBoundaryDataRow(ds.SccmBoundaryDataRow row)
            {
                base.Rows.Add(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmBoundaryDataRow AddSccmBoundaryDataRow(string SiteCode, string BoundaryData, string BoundaryType)
            {
                ds.SccmBoundaryDataRow row = (ds.SccmBoundaryDataRow) base.NewRow();
                row.ItemArray = new object[] { SiteCode, BoundaryData, BoundaryType };
                base.Rows.Add(row);
                return row;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public override DataTable Clone()
            {
                ds.SccmBoundaryDataDataTable table = (ds.SccmBoundaryDataDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataTable CreateInstance()
            {
                return new ds.SccmBoundaryDataDataTable();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public ds.SccmBoundaryDataRow FindBySiteCodeBoundaryData(string SiteCode, string BoundaryData)
            {
                return (ds.SccmBoundaryDataRow) base.Rows.Find(new object[] { SiteCode, BoundaryData });
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override Type GetRowType()
            {
                return typeof(ds.SccmBoundaryDataRow);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                ds ds = new ds();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = ds.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "SccmBoundaryDataDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = ds.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            private void InitClass()
            {
                this.columnSiteCode = new DataColumn("SiteCode", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnSiteCode);
                this.columnBoundaryData = new DataColumn("BoundaryData", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnBoundaryData);
                this.columnBoundaryType = new DataColumn("BoundaryType", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnBoundaryType);
                base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnSiteCode, this.columnBoundaryData }, true));
                this.columnSiteCode.AllowDBNull = false;
                this.columnSiteCode.MaxLength = 3;
                this.columnBoundaryData.AllowDBNull = false;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal void InitVars()
            {
                this.columnSiteCode = base.Columns["SiteCode"];
                this.columnBoundaryData = base.Columns["BoundaryData"];
                this.columnBoundaryType = base.Columns["BoundaryType"];
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new ds.SccmBoundaryDataRow(builder);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmBoundaryDataRow NewSccmBoundaryDataRow()
            {
                return (ds.SccmBoundaryDataRow) base.NewRow();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.SccmBoundaryDataRowChanged != null)
                {
                    this.SccmBoundaryDataRowChanged(this, new ds.SccmBoundaryDataRowChangeEvent((ds.SccmBoundaryDataRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.SccmBoundaryDataRowChanging != null)
                {
                    this.SccmBoundaryDataRowChanging(this, new ds.SccmBoundaryDataRowChangeEvent((ds.SccmBoundaryDataRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.SccmBoundaryDataRowDeleted != null)
                {
                    this.SccmBoundaryDataRowDeleted(this, new ds.SccmBoundaryDataRowChangeEvent((ds.SccmBoundaryDataRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.SccmBoundaryDataRowDeleting != null)
                {
                    this.SccmBoundaryDataRowDeleting(this, new ds.SccmBoundaryDataRowChangeEvent((ds.SccmBoundaryDataRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void RemoveSccmBoundaryDataRow(ds.SccmBoundaryDataRow row)
            {
                base.Rows.Remove(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn BoundaryDataColumn
            {
                get
                {
                    return this.columnBoundaryData;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn BoundaryTypeColumn
            {
                get
                {
                    return this.columnBoundaryType;
                }
            }

            [Browsable(false), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmBoundaryDataRow this[int index]
            {
                get
                {
                    return (ds.SccmBoundaryDataRow) base.Rows[index];
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn SiteCodeColumn
            {
                get
                {
                    return this.columnSiteCode;
                }
            }
        }

        public class SccmBoundaryDataRow : DataRow
        {
            private ds.SccmBoundaryDataDataTable tableSccmBoundaryData;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal SccmBoundaryDataRow(DataRowBuilder rb) : base(rb)
            {
                this.tableSccmBoundaryData = (ds.SccmBoundaryDataDataTable) base.Table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsBoundaryTypeNull()
            {
                return base.IsNull(this.tableSccmBoundaryData.BoundaryTypeColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetBoundaryTypeNull()
            {
                base[this.tableSccmBoundaryData.BoundaryTypeColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string BoundaryData
            {
                get
                {
                    return (string) base[this.tableSccmBoundaryData.BoundaryDataColumn];
                }
                set
                {
                    base[this.tableSccmBoundaryData.BoundaryDataColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string BoundaryType
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableSccmBoundaryData.BoundaryTypeColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("The value for column 'BoundaryType' in table 'SccmBoundaryData' is DBNull.", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableSccmBoundaryData.BoundaryTypeColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SiteCode
            {
                get
                {
                    return (string) base[this.tableSccmBoundaryData.SiteCodeColumn];
                }
                set
                {
                    base[this.tableSccmBoundaryData.SiteCodeColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class SccmBoundaryDataRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private ds.SccmBoundaryDataRow eventRow;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public SccmBoundaryDataRowChangeEvent(ds.SccmBoundaryDataRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public ds.SccmBoundaryDataRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void SccmBoundaryDataRowChangeEventHandler(object sender, ds.SccmBoundaryDataRowChangeEvent e);

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class SccmBoundaryIPRangeDataDataTable : TypedTableBase<ds.SccmBoundaryIPRangeDataRow>
        {
            private DataColumn columnId;
            private DataColumn columnIPRangeHigh;
            private DataColumn columnIPRangeLow;
            private DataColumn columnSiteCode;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmBoundaryIPRangeDataRowChangeEventHandler SccmBoundaryIPRangeDataRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmBoundaryIPRangeDataRowChangeEventHandler SccmBoundaryIPRangeDataRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmBoundaryIPRangeDataRowChangeEventHandler SccmBoundaryIPRangeDataRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmBoundaryIPRangeDataRowChangeEventHandler SccmBoundaryIPRangeDataRowDeleting;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public SccmBoundaryIPRangeDataDataTable()
            {
                base.TableName = "SccmBoundaryIPRangeData";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal SccmBoundaryIPRangeDataDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected SccmBoundaryIPRangeDataDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void AddSccmBoundaryIPRangeDataRow(ds.SccmBoundaryIPRangeDataRow row)
            {
                base.Rows.Add(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmBoundaryIPRangeDataRow AddSccmBoundaryIPRangeDataRow(string SiteCode, int IPRangeLow, int IPRangeHigh)
            {
                ds.SccmBoundaryIPRangeDataRow row = (ds.SccmBoundaryIPRangeDataRow) base.NewRow();
                object[] objArray2 = new object[4];
                objArray2[0] = SiteCode;
                objArray2[1] = IPRangeLow;
                objArray2[2] = IPRangeHigh;
                object[] objArray = objArray2;
                row.ItemArray = objArray;
                base.Rows.Add(row);
                return row;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public override DataTable Clone()
            {
                ds.SccmBoundaryIPRangeDataDataTable table = (ds.SccmBoundaryIPRangeDataDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataTable CreateInstance()
            {
                return new ds.SccmBoundaryIPRangeDataDataTable();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public ds.SccmBoundaryIPRangeDataRow FindById(int Id)
            {
                return (ds.SccmBoundaryIPRangeDataRow) base.Rows.Find(new object[] { Id });
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override Type GetRowType()
            {
                return typeof(ds.SccmBoundaryIPRangeDataRow);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                ds ds = new ds();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = ds.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "SccmBoundaryIPRangeDataDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = ds.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            private void InitClass()
            {
                this.columnSiteCode = new DataColumn("SiteCode", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnSiteCode);
                this.columnIPRangeLow = new DataColumn("IPRangeLow", typeof(int), null, MappingType.Element);
                base.Columns.Add(this.columnIPRangeLow);
                this.columnIPRangeHigh = new DataColumn("IPRangeHigh", typeof(int), null, MappingType.Element);
                base.Columns.Add(this.columnIPRangeHigh);
                this.columnId = new DataColumn("Id", typeof(int), null, MappingType.Element);
                base.Columns.Add(this.columnId);
                base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnId }, true));
                this.columnSiteCode.AllowDBNull = false;
                this.columnIPRangeLow.AllowDBNull = false;
                this.columnIPRangeHigh.AllowDBNull = false;
                this.columnId.AutoIncrement = true;
                this.columnId.AutoIncrementSeed = -1L;
                this.columnId.AutoIncrementStep = -1L;
                this.columnId.AllowDBNull = false;
                this.columnId.Unique = true;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal void InitVars()
            {
                this.columnSiteCode = base.Columns["SiteCode"];
                this.columnIPRangeLow = base.Columns["IPRangeLow"];
                this.columnIPRangeHigh = base.Columns["IPRangeHigh"];
                this.columnId = base.Columns["Id"];
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new ds.SccmBoundaryIPRangeDataRow(builder);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmBoundaryIPRangeDataRow NewSccmBoundaryIPRangeDataRow()
            {
                return (ds.SccmBoundaryIPRangeDataRow) base.NewRow();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.SccmBoundaryIPRangeDataRowChanged != null)
                {
                    this.SccmBoundaryIPRangeDataRowChanged(this, new ds.SccmBoundaryIPRangeDataRowChangeEvent((ds.SccmBoundaryIPRangeDataRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.SccmBoundaryIPRangeDataRowChanging != null)
                {
                    this.SccmBoundaryIPRangeDataRowChanging(this, new ds.SccmBoundaryIPRangeDataRowChangeEvent((ds.SccmBoundaryIPRangeDataRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.SccmBoundaryIPRangeDataRowDeleted != null)
                {
                    this.SccmBoundaryIPRangeDataRowDeleted(this, new ds.SccmBoundaryIPRangeDataRowChangeEvent((ds.SccmBoundaryIPRangeDataRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.SccmBoundaryIPRangeDataRowDeleting != null)
                {
                    this.SccmBoundaryIPRangeDataRowDeleting(this, new ds.SccmBoundaryIPRangeDataRowChangeEvent((ds.SccmBoundaryIPRangeDataRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void RemoveSccmBoundaryIPRangeDataRow(ds.SccmBoundaryIPRangeDataRow row)
            {
                base.Rows.Remove(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(false)]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn IdColumn
            {
                get
                {
                    return this.columnId;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn IPRangeHighColumn
            {
                get
                {
                    return this.columnIPRangeHigh;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn IPRangeLowColumn
            {
                get
                {
                    return this.columnIPRangeLow;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public ds.SccmBoundaryIPRangeDataRow this[int index]
            {
                get
                {
                    return (ds.SccmBoundaryIPRangeDataRow) base.Rows[index];
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn SiteCodeColumn
            {
                get
                {
                    return this.columnSiteCode;
                }
            }
        }

        public class SccmBoundaryIPRangeDataRow : DataRow
        {
            private ds.SccmBoundaryIPRangeDataDataTable tableSccmBoundaryIPRangeData;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal SccmBoundaryIPRangeDataRow(DataRowBuilder rb) : base(rb)
            {
                this.tableSccmBoundaryIPRangeData = (ds.SccmBoundaryIPRangeDataDataTable) base.Table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public int Id
            {
                get
                {
                    return (int) base[this.tableSccmBoundaryIPRangeData.IdColumn];
                }
                set
                {
                    base[this.tableSccmBoundaryIPRangeData.IdColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public int IPRangeHigh
            {
                get
                {
                    return (int) base[this.tableSccmBoundaryIPRangeData.IPRangeHighColumn];
                }
                set
                {
                    base[this.tableSccmBoundaryIPRangeData.IPRangeHighColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public int IPRangeLow
            {
                get
                {
                    return (int) base[this.tableSccmBoundaryIPRangeData.IPRangeLowColumn];
                }
                set
                {
                    base[this.tableSccmBoundaryIPRangeData.IPRangeLowColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SiteCode
            {
                get
                {
                    return (string) base[this.tableSccmBoundaryIPRangeData.SiteCodeColumn];
                }
                set
                {
                    base[this.tableSccmBoundaryIPRangeData.SiteCodeColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class SccmBoundaryIPRangeDataRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private ds.SccmBoundaryIPRangeDataRow eventRow;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public SccmBoundaryIPRangeDataRowChangeEvent(ds.SccmBoundaryIPRangeDataRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public ds.SccmBoundaryIPRangeDataRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void SccmBoundaryIPRangeDataRowChangeEventHandler(object sender, ds.SccmBoundaryIPRangeDataRowChangeEvent e);

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class SccmSitesDataTable : TypedTableBase<ds.SccmSitesRow>
        {
            private DataColumn columnIsProcessed;
            private DataColumn columnSiteCode;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmSitesRowChangeEventHandler SccmSitesRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmSitesRowChangeEventHandler SccmSitesRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmSitesRowChangeEventHandler SccmSitesRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event ds.SccmSitesRowChangeEventHandler SccmSitesRowDeleting;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public SccmSitesDataTable()
            {
                base.TableName = "SccmSites";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal SccmSitesDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected SccmSitesDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void AddSccmSitesRow(ds.SccmSitesRow row)
            {
                base.Rows.Add(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmSitesRow AddSccmSitesRow(string SiteCode, bool IsProcessed)
            {
                ds.SccmSitesRow row = (ds.SccmSitesRow) base.NewRow();
                row.ItemArray = new object[] { SiteCode, IsProcessed };
                base.Rows.Add(row);
                return row;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public override DataTable Clone()
            {
                ds.SccmSitesDataTable table = (ds.SccmSitesDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataTable CreateInstance()
            {
                return new ds.SccmSitesDataTable();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public ds.SccmSitesRow FindBySiteCode(string SiteCode)
            {
                return (ds.SccmSitesRow) base.Rows.Find(new object[] { SiteCode });
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override Type GetRowType()
            {
                return typeof(ds.SccmSitesRow);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                ds ds = new ds();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = ds.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "SccmSitesDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = ds.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private void InitClass()
            {
                this.columnSiteCode = new DataColumn("SiteCode", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnSiteCode);
                this.columnIsProcessed = new DataColumn("IsProcessed", typeof(bool), null, MappingType.Element);
                base.Columns.Add(this.columnIsProcessed);
                base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnSiteCode }, true));
                this.columnSiteCode.AllowDBNull = false;
                this.columnSiteCode.Unique = true;
                this.columnSiteCode.MaxLength = 3;
                this.columnIsProcessed.DefaultValue = false;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal void InitVars()
            {
                this.columnSiteCode = base.Columns["SiteCode"];
                this.columnIsProcessed = base.Columns["IsProcessed"];
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new ds.SccmSitesRow(builder);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmSitesRow NewSccmSitesRow()
            {
                return (ds.SccmSitesRow) base.NewRow();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.SccmSitesRowChanged != null)
                {
                    this.SccmSitesRowChanged(this, new ds.SccmSitesRowChangeEvent((ds.SccmSitesRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.SccmSitesRowChanging != null)
                {
                    this.SccmSitesRowChanging(this, new ds.SccmSitesRowChangeEvent((ds.SccmSitesRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.SccmSitesRowDeleted != null)
                {
                    this.SccmSitesRowDeleted(this, new ds.SccmSitesRowChangeEvent((ds.SccmSitesRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.SccmSitesRowDeleting != null)
                {
                    this.SccmSitesRowDeleting(this, new ds.SccmSitesRowChangeEvent((ds.SccmSitesRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void RemoveSccmSitesRow(ds.SccmSitesRow row)
            {
                base.Rows.Remove(row);
            }

            [Browsable(false), DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn IsProcessedColumn
            {
                get
                {
                    return this.columnIsProcessed;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmSitesRow this[int index]
            {
                get
                {
                    return (ds.SccmSitesRow) base.Rows[index];
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn SiteCodeColumn
            {
                get
                {
                    return this.columnSiteCode;
                }
            }
        }

        public class SccmSitesRow : DataRow
        {
            private ds.SccmSitesDataTable tableSccmSites;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal SccmSitesRow(DataRowBuilder rb) : base(rb)
            {
                this.tableSccmSites = (ds.SccmSitesDataTable) base.Table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsIsProcessedNull()
            {
                return base.IsNull(this.tableSccmSites.IsProcessedColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetIsProcessedNull()
            {
                base[this.tableSccmSites.IsProcessedColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsProcessed
            {
                get
                {
                    bool flag;
                    try
                    {
                        flag = (bool) base[this.tableSccmSites.IsProcessedColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("The value for column 'IsProcessed' in table 'SccmSites' is DBNull.", exception);
                    }
                    return flag;
                }
                set
                {
                    base[this.tableSccmSites.IsProcessedColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SiteCode
            {
                get
                {
                    return (string) base[this.tableSccmSites.SiteCodeColumn];
                }
                set
                {
                    base[this.tableSccmSites.SiteCodeColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class SccmSitesRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private ds.SccmSitesRow eventRow;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public SccmSitesRowChangeEvent(ds.SccmSitesRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public ds.SccmSitesRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void SccmSitesRowChangeEventHandler(object sender, ds.SccmSitesRowChangeEvent e);

        private void InitializeComponent()
        {
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

        }
    }
}

